package com.zhongwang.mms.module.material.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @description:机械出库总表
 * @author: th
 * @time: 2020/7/9 8:38
 */
@Data
public class MechanicsOutWar {

    @ExcelIgnore
    private Integer odaId;

    @ExcelProperty(value = "单据类型",index = 0)
    private String odrTypeName;//单据类型
    @ExcelProperty(value = "类型",index = 1)
    private String matTypeName;//类型
    @ExcelProperty(value = "材质",index = 2)
    private String matQualityName;//材质
    @ExcelProperty(value = "规格",index = 3)
    private String matSpecName;//规格
    @ExcelProperty(value = "宽度",index = 4)
    private Double matWidth;//宽度
    @ExcelProperty(value = "长度",index = 5)
    private Double matLength;//长度
    @ExcelProperty(value = "米厚/厚度",index = 6)
    private Double matHeight;//米厚/厚度
    @ExcelProperty(value = "数量",index = 7)
    private Double odaNum;//数量
    @ExcelProperty(value = "理论重量",index = 8)
    private Double odaWeight;//理论重量
    @ExcelProperty(value = "跟踪号",index = 9)
    private String odaTrackCode;//跟踪号
    @ExcelProperty(value = "项目编号",index = 10)
    private String odaProCode;//项目编号
    @ExcelProperty(value = "项目名称",index = 11)
    private String odaProName;//项目名称
    @ExcelProperty(value = "在库类型",index = 12)
    private String odaInTypeName;//在库类型
    @ExcelProperty(value = "出入库日期",index = 13)
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    @DateTimeFormat("yyyy/MM/dd")
    private Date odrDate;//出入库日期
    @ExcelProperty(value = "部门",index = 14)
    private String odrTakeWorkshop;//部门
    @ExcelProperty(value = "经手/领料人",index = 15)
    private String odrTakePerson;//经手/领料人
    @ExcelProperty(value = "备注/特殊说明",index = 16)
    private String odaSpec;//备注/特殊说明
    @ExcelIgnore
    private Date startOdrDate;
    @ExcelIgnore
    private Date endOdrDate;
    @ExcelIgnore
    private String materialKind;
}
